package com.linln.admin.system.controller;

import com.linln.common.vo.ResultVo;
import com.linln.modules.system.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * @author hyf
 * @date 2021/10/11
 */
@RestController
@RequestMapping("/miss/banner")
public class BannerController {

    @Autowired
    private BannerService bannerService;

    /**
     * 获取Banner列表
     * @return
     */
    @GetMapping("getBannerList/unauth")
    public ResultVo getBannerList(){
       ResultVo resultVo  = bannerService.getBannerList();
        return resultVo;
    }

}